ScxV6Object.ID Method

Returns the unique identifier of this object

Remarks

This number should be used when an identifier is needed in other methods.

Example:

The following example written in VB.NET gets the ID of an analogue point:

Dim Svr As ScxV6DbClient.ScxV6Server

' Connect to the server

Dim Svr = New ScxV6DbClient.ScxV6Server

Svr.Connect("MAIN", "", "")

Dim Obj As ScxV6DbClient.ScxV6Object

Obj = Svr.FindObject("Group.Sub-Group.New Analogue Point")

Console.WriteLine("The ID of the Analogue Point is ""{0}""", Obj.ID)

' Disconnect

Svr.Disconnect()

This produces the following output:

The ID of the Analogue Point is "240"


Disclaimer

Geo SCADA Expert 2020